package com.jiang.dadarentcar;

public class PassengerCar extends Car {
	
	private String name;
	
	private int busload;
	
	private double rentdaily;

	public PassengerCar(String name, int busload, double rentdaily) {
		super();
		this.name = name;
		this.busload = busload;
		this.rentdaily = rentdaily;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getBusload() {
		return busload;
	}

	public void setBusload(int busload) {
		this.busload = busload;
	}

	public double getRentdaily() {
		return rentdaily;
	}

	public void setRentdaily(double rentdaily) {
		this.rentdaily = rentdaily;
	}	

}
